﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Calculate
    {
        private int a;
        private int b;
        
        protected int A { get => a; set => a = value; }
        protected int B { get => b; set => b = value; }

        



    
        public virtual void DisplayResult(int a,int b) {
            int sum = 0;
            sum = a + b;
            Console.WriteLine(sum);

        }
    }
}
